﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    ViewBag.Title = "Index";
}
@section Style{
    <link rel="stylesheet" href="~/css/admin/blogmanager/blog.css" />
}





<div style="text-align:center">

    <fieldset id="Console" class="layui-elem-field layui-field-title" style="display:block;">
        <legend>控制台</legend>
        <div class="layui-field-box">
            <div id="IndexTop">
                <form class="layui-form layui-form-pane" action="">
                    <div class="layui-form-item" style="margin:0;margin-top:15px;">
                        <div class="layui-inline">
                            @*<label class="layui-form-label">分类</label>
                            <div class="layui-input-inline">
                                <select name="category">
                                    <option value=""></option>
                                    <option value="0">文章太少，此功能暂不提供</option>
                                </select>
                            </div>*@
                            <label class="layui-form-label">关键词</label>
                            <div class="layui-input-inline">
                                <input type="text" id="keywords" name="keywords" autocomplete="off" class="layui-input">
                            </div>
                            <div class="layui-input-inline" style="width:auto">
                                <button class="layui-btn" lay-submit lay-filter="formSearch">搜索</button>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline" style="width:auto">
                                <a id="addArticle" class="layui-btn layui-btn-normal">发表文章</a>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline" style="width:auto">
                                <a id="delArticleList" class="layui-btn layui-btn-danger">删除选中</a>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </fieldset>

    <fieldset id="List" class="layui-elem-field layui-field-title sys-list-field" style="display:none"> 
        <legend id="BoxTitle">文章列表</legend>
        <div class="layui-field-box">
            <div id="content" class="layui-form">
                <!--内容区域 ajax获取-->
               
            </div>

        </div>
    </fieldset>
</div>

@section Scripts{

    <script src="~/js/admin/blogmanager/index.js"></script>
}